sudo apt install expect

pip3 install django

pip3 install pytz --upgrade
pip3 install tzdata --upgrade

rm db.sqlite3 

# 检查数据库变化
python3 manage.py makemigrations
# 初始化数据库
python3 manage.py migrate

# 创建管理员账户
clear 
echo "======================= Admin User Create ======================="
python3 manage.py createsuperuser
# admin
# admin@admin.com
# y


# 赋予程序执行权限
chmod +x run.sh
# 执行服务
bash run.sh
# 端口号在run.sh中